
public enum UtilitiesTiles {

	EC ("images/Deeds/12 - Electric Company.png", "Electric Company", 12, 150, 75),
	WW ("images/Deeds/28 - Water Works.png", "Water Works", 28, 150, 75);
	
	private final String tileURL;
	private final String utilityName;
	private final int location;
	private final int cost;
	private final int mortgage;
	
	private Player owner;
	private boolean mortgaged;
	
	UtilitiesTiles(String tileURL, String utilityName, int location, int cost, int mortgage) {
		
		this.tileURL = tileURL;
		this.utilityName = utilityName;
		this.location = location;
		this.cost = cost;
		this.mortgage = mortgage;
		this.owner = null;
		this.mortgaged = false;
	}

	public String getTileURL() {
		
		return tileURL;
	}
	
	public String getUtilityName() {
		
		return utilityName;
	}

	public int getLocation() {
		
		return location;
	}

	public int getCost() {
		
		return cost;
	}

	public int getMortgage() {
	
		return mortgage;
	}

	public Player getOwner() {
		
		return owner;
	}

	public boolean getMortgaged() {
		
		return mortgaged;
	}

	public void setOwner(Player owner) {
		
		this.owner = owner;
	}

	public void setMortgaged(boolean mortgaged) {
		
		this.mortgaged = mortgaged;
	}
	
}
